
import Layout from '@/layout/index';

export default [
  {
    path: '/',
    component: Layout,
    redirect: '/dashboard',
    meta: { title: '患者管理', icon: 'index', code: 'doc:work', redirect: true }
  },
  {
    path: 'dashboard',
    component: (resolve) => require(['@/views/docWork'], resolve),
    name: 'Dashboard',
    meta: { title: '患者管理列表', icon: 'index', code: 'doc:work:list' }
  },
  {
    path: 'desc',
    component: (resolve) => require(['@/views/home'], resolve),
    name: 'desc',
    meta: { title: '患者详情页面', icon: 'index', code: 'doc:work:desc' }
  }
];
